﻿@* 数据访问层工作单元接口 *@
@using Util.Generators.Helpers
@model Util.Generators.Contexts.EntityContext
@{
    var service = new GenerateService( Model );
    var unitOfWork = service.GetIUnitOfWork();
    Model.Output.FileNameNoExtension = unitOfWork;
    Model.Output.Extension = ".cs";
    Model.Output.RelativeRootPath = $"src/{service.GetDataProjectName()}";
}
namespace @service.GetDataNamespace();

/// <summary>
/// 工作单元
/// </summary>
public interface @unitOfWork : IUnitOfWork {
}